
<h2 class="title title-bg">
	<%= image_tag "solutions-title.jpg" %>
</h2>
<div class="article-list">
	<% @solutions.each do |solution| %>
		<dt>
			<%= link_to solution.title, solution_path(solution), :title => solution.title %>
			<em>发布时间：<%= solution.created_at.strftime("%Y-%m-%d") %></em>
		</dt>
		<dd>
			<p>
				<%= solution.content.bbcode_to_html.gsub(%r{</?[^>]+?>}, '').scan(/./)[0, 180].join('') %>
				&nbsp;&nbsp;
				<%= link_to "详细>>", solution_path(solution), :title => "#{solution.title} 详细", :style => "float: right" %>
			</p>
		</dd>
	<% end %>
</div>
